/*************引入模块*****************/
const conf=require("../../conf.js")
const path=require("path")
/*************定义变量*****************/
var entry=conf.entry;
var project=conf.projectName;
var asset = conf.asset;
/*************定义函数*****************/
function resolve () {
  return path.join(__dirname, '..','..','..', 'src','projects',project);
}
function baseHCJ(dir){
	return path.join(resolve(),dir)
}
var alias={}
for(var key in asset){
	alias['@'+key]=baseHCJ(asset[key]);
}
alias['@']=resolve();
alias['vue$']='vue/dist/vue.esm.js';
/*************直接执行*****************/
/*************输出接口*****************/
module.exports={
	extensions: ['.js', '.less','.tpl'],
    alias: alias,
}
